﻿using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiWrite.Application.Command.Unit
{
    public class AddUnitCommand:IRequest<ApiResult<int>>
    {  
        /// <summary>
        /// 单位编号(自动生产)
        /// </summary>
        public string UnitCode { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? UnitRemark { get; set; }
    }
}
